package com.margo.project.web.mvcconfig.model;

import javax.validation.constraints.NotBlank;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.margo.project.web.mvcconfig.deserialize.MargoStringJsonDeserializer;
import com.margo.project.web.mvcconfig.formatterRegistry.StringConverterFormat;

/**
 * 
 * @author fangxingbang
 *
 */
public class MargoMvcConfigVO {
	
	@StringConverterFormat
	@NotBlank(message="workStatus不能为空")
	private String workStatus;

	public String getWorkStatus() {
		return workStatus;
	}

	@JsonDeserialize(using = MargoStringJsonDeserializer.class)
	public void setWorkStatus(String workStatus) {
		this.workStatus = workStatus;
	}

	@Override
	public String toString() {
		return "MargoMvcConfigVO [workStatus=" + workStatus + "]";
	}
}
